package com.yxy.mapper;

import com.yxy.domain.po.Resources;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ResourcesMapper {

    /**
     * 查询所有资源信息
     * @return
     */
    @Select("select * from resources")
    Resources selectAll();

    /**
     * 修改资源信息
     * @param resources
     */
    void update(Resources resources);
}
